package com.bensonbasement.snorflux.server.world.prototypes;

import com.bensonbasement.snorflux.server.world.Level;
import com.bensonbasement.snorflux.server.world.Space;
import com.bensonbasement.snorflux.server.world.World;
import com.bensonbasement.snorflux.utils.Coords;

public final class SpacePrototype extends WorldElementPrototype {
	public static final SpacePrototype SPACE;
	static {
		SPACE = new SpacePrototype("core_space",WorldElementPrototype.WORLDELEMENT);
	}
	
	public SpacePrototype(String prototypeID, SpacePrototype parent) {
		super(prototypeID, parent);
	}
	
	private SpacePrototype(String prototypeID, WorldElementPrototype parent) {
		super(prototypeID, parent);
	}
	
	public Space instantiate(World world, Level level, Coords coords) {
		Space space = new Space(world,this,level,coords);
		return space;
	}
}
